package br.com.sovi.gwt.client.entity;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ControleUnitarioPoint implements IsSerializable {

	private Date data;

	private Ponto ponto;
	
	public ControleUnitarioPoint() {
	}

	public ControleUnitarioPoint(Date data, Ponto ponto) {
		this();
		this.data = data;
		this.ponto = ponto;
	}

	public ControleUnitarioPoint(Date data, double latitude, double longitude) {
		this();
		this.data = data;
		this.ponto = new Ponto(latitude, longitude);
	}

	public Date getData() {
		return data;
	}

	public void setData(Date data) {
		this.data = data;
	}

	public Ponto getPoint() {
		return ponto;
	}

	public void setPoint(Ponto ponto) {
		this.ponto = ponto;
	}

}
